<#include "/header.ftl"/>

<h1 style="color:red;text-align:center"><----------UserList----------></h1>
<div>
<table >
<tr id="first"><td colspan="7">
	<input type="checkbox" id="allChoose">全选 
&nbsp; <A href="/add.ftl">添加</A>
</td></tr>
<tr>
<td width="30"></td>
<td>编号</td>
<td>姓名</td>
<td>电话</td>
<td>地址</td>
<td>操作</td>
</tr>

<#list list as user>
	<!--user_index为索引-->
	<!--输出元素user-->
<tr>
<td><input type="checkbox" name="num">
	<input type="hidden" id="hid" value=""/>
</td>
<td>${user_index+1}</td>
<td>${user.userName}</td>
<td>${user.userTel}</td>
<td>${user.userAddress}</td>
<td>
<A href="javascript:void(0);" onclick="del(${user.userId});">删除|</A>
<A href="javascript:void(0);" onclick="alter(${user.userId});">修改</A>
</td>
</tr>
</#list>



</table>

</div>




<#include "/footer.ftl"/>